<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class AddProofImgToOpenShopOrderPayHistory extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('open_shop_sign_order_pay_history', function (Blueprint $table) {
            //
            $table->string("proofImg", 120)->default("")->after("subject")->comment("支付凭证");
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('open_shop_sign_order_pay_history', function (Blueprint $table) {
            //
            $table->dropColumn("proofImg");
        });
    }
}
